<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vue 测试实例 - 菜鸟教程(runoob.com)</title>
<script src="https://cdn.staticfile.org/vue/3.2.36/vue.global.min.js"></script>
</head>
<div id="app">
    <input type="checkbox" v-model="toggle" true-value="yes" false-value="no"/>1<br/>
    <input type="checkbox" v-model="toggle" />2<br/>
    <input type="checkbox" v-model="toggle" true-value="yes"/>3<br/>
    <input type="checkbox" v-model="toggle" false-value="no"/>4<br/>
    <input type="radio" v-model="pick" value="a"/><br/>
    <select v-model="selected">
      <option :value="123">123</option>
      <option :value="456">456</option>

      <option :value="789">789</option>
    </select>
</div>


<script>
   const app={
   data(){
    return{
      toggle: 'yes',
      pick: '',
      selected: ''
    }
   },
   methods:{
    
    }
  }
   Vue.createApp(app).mount('#app')
</script>
</body>
</html>
